package cn.sciento.farm;

import cn.sciento.autoconfigure.iam.EnableSTongIam;
import cn.sciento.autoconfigure.iam.saas.EnableSTongIamSaas;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//@EnableSwagger2
@EnableDiscoveryClient
@EnableSTongIam
@EnableSTongIamSaas
//@SpringBootApplication(exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class, ReactiveUserDetailsServiceAutoConfiguration.class,
//        ReactiveSecurityAutoConfiguration.class})
@SpringBootApplication
public class FarmIamApplication {

    public static void main(String[] args) {
        SpringApplication.run(FarmIamApplication.class, args);
    }

}
